import request from '@/utils/request'
// 登录的接口
export const login = data => request.post('/api/user-service/user/login', data)
// 图片验证码

export const Flag = data => request.get(`/api/user-service/user/imageCode/:${data}`)
// 获取前十热门商品
export const hotGoods = data => request.get(`/api/order-service/report/skuTop/${data.topValue}/${data.start}/${data.end}`)
